This folder contains the necessary codes and data files to reproduce the findings presented in the submitted and revised manuscript "The Role of Time, Weather and Google Trends in Understanding and Predicting Web Survey Response" by Qixiang Fang, Joep Burger, Ralph Meijers and Kees van Berkel. 

In the "Google Trends Data Retrievel and Calibration" folder, you can find two R code files. Using the "Daily GT Data Retrieval.R" file, you can download the Google Trends data we used for the study. Using the "Calibrate GT Data.R" file, you can see how we calibrated the raw Google Trends data. 

In the "Main Analysis and Plots" folder, you can find the data and R codes necessary to reproduce most of the analysis results and plots we presented. Check out the "README.txt" file under this folder for more information.

Note that the replicability of the results of the manuscript might be subject to the specific versions of R (3.5.0), R studio (1.1.383) and the computational packages used (version information can be found in the R code files). Please make sure to install the exact versions prescribed for exact replication. You can do that with the following codes.

require(devtools)
install_version("your package", version = "xxx", repos = "http://cran.us.r-project.org")